#include "base/object_pool.hpp"
#include "fmt/core.h"

using namespace ibox::base;

int main() {
    ObjectPool<int> pool;
    auto *p = pool.alloc(50);
    fmt::print("*p: {}\n", *p);
    pool.free(p);
    fmt::print("pool.get_stat().total_alloc_times: {}\n",
               pool.get_stat().total_alloc_times);
}
